package main

import (
	"fmt"
	"strings"

	"github.com/spf13/cobra"
)

func main() {

	var cmdPrint = &cobra.Command{
		Use:   "database  [string to print]",
		Short: "database upgrede",
		Long: `database`,
		Args: cobra.MinimumNArgs(1),
		Run: func(cmd *cobra.Command, args []string) {
			fmt.Println("Print: " + strings.Join(args, " "))
		},
	}



	var rootCmd = &cobra.Command{Use: "app"}
	rootCmd.AddCommand(cmdPrint)
	rootCmd.Execute()
}